#ifndef WARNER_H
#define WARNER_H

#include <QObject>
#include <QTcpSocket>
#include "Models/WarnMessage.h"
class Warner : public QObject
{
    Q_OBJECT
public:
    Warner(QObject *parent = nullptr);

    Warner& getInstance();

signals:
    void warnAccor(WarnMessage* temp_message);

private:
    QTcpSocket* m_socket;
};

#endif // WARNER_H
